projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2718efd
)
(frame-parameter): New function.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 10 Apr 1997 06:49:45 +0000
(06:49 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 10 Apr 1997 06:49:45 +0000
(06:49 +0000)
lisp/frame.el
patch
|
blob
|
history
diff --git
a/lisp/frame.el
b/lisp/frame.el
index dca7f8167770bce9e8c98a3d338ed68a224032e2..1396aa117857d653877785193dff0b870e42e97f 100644
(file)
--- a/
lisp/frame.el
+++ b/
lisp/frame.el
@@
-578,6
+578,10
@@
is given and non-nil, the unwanted frames are iconified instead."
;;;; Convenience functions for accessing and interactively changing
;;;; frame parameters.
+(defun frame-parameter (frame parameter)
+ "Return FRAME's value for parameter PARAMETER."
+ (cdr (assq parameter(frame-parameters frame))))
+
(defun frame-height (&optional frame)
"Return number of lines available for display on FRAME.
If FRAME is omitted, describe the currently selected frame."